Optimal. Leaf size=138 \[ -\frac {(4 A+7 C) \sin (c+d x) \sqrt [3]{a \cos (c+d x)+a} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {3}{2};\frac {1}{2} (1-\cos (c+d x))\right )}{2 \sqrt [6]{2} a d (\cos (c+d x)+1)^{5/6}}+\frac {3 (A+C) \sin (c+d x)}{d (a \cos (c+d x)+a)^{2/3}}+\frac {3 C \sin (c+d x) \sqrt [3]{a \cos (c+d x)+a}}{4 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 138, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {3024, 2750, 2652, 2651} \[ -\frac {(4 A+7 C) \sin (c+d x) \sqrt [3]{a \cos (c+d x)+a} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {3}{2};\frac {1}{2} (1-\cos (c+d x))\right )}{2 \sqrt [6]{2} a d (\cos (c+d x)+1)^{5/6}}+\frac {3 (A+C) \sin (c+d x)}{d (a \cos (c+d x)+a)^{2/3}}+\frac {3 C \sin (c+d x) \sqrt [3]{a \cos (c+d x)+a}}{4 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2651
Rule 2652
Rule 2750
Rule 3024
Rubi steps
\begin {align*} \int \frac {A+C \cos ^2(c+d x)}{(a+a \cos (c+d x))^{2/3}} \, dx &=\frac {3 C \sqrt [3]{a+a \cos (c+d x)} \sin (c+d x)}{4 a d}+\frac {3 \int \frac {\frac {1}{3} a (4 A+C)-a C \cos (c+d x)}{(a+a \cos (c+d x))^{2/3}} \, dx}{4 a}\\ &=\frac {3 (A+C) \sin (c+d x)}{d (a+a \cos (c+d x))^{2/3}}+\frac {3 C \sqrt [3]{a+a \cos (c+d x)} \sin (c+d x)}{4 a d}-\frac {(4 A+7 C) \int \sqrt [3]{a+a \cos (c+d x)} \, dx}{4 a}\\ &=\frac {3 (A+C) \sin (c+d x)}{d (a+a \cos (c+d x))^{2/3}}+\frac {3 C \sqrt [3]{a+a \cos (c+d x)} \sin (c+d x)}{4 a d}-\frac {\left ((4 A+7 C) \sqrt [3]{a+a \cos (c+d x)}\right ) \int \sqrt [3]{1+\cos (c+d x)} \, dx}{4 a \sqrt [3]{1+\cos (c+d x)}}\\ &=\frac {3 (A+C) \sin (c+d x)}{d (a+a \cos (c+d x))^{2/3}}+\frac {3 C \sqrt [3]{a+a \cos (c+d x)} \sin (c+d x)}{4 a d}-\frac {(4 A+7 C) \sqrt [3]{a+a \cos (c+d x)} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {3}{2};\frac {1}{2} (1-\cos (c+d x))\right ) \sin (c+d x)}{2 \sqrt [6]{2} a d (1+\cos (c+d x))^{5/6}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.15, size = 0, normalized size = 0.00 \[ \int \frac {A+C \cos ^2(c+d x)}{(a+a \cos (c+d x))^{2/3}} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.44, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {C \cos \left (d x + c\right )^{2} + A}{{\left (a \cos \left (d x + c\right ) + a\right )}^{\frac {2}{3}}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {C \cos \left (d x + c\right )^{2} + A}{{\left (a \cos \left (d x + c\right ) + a\right )}^{\frac {2}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.37, size = 0, normalized size = 0.00 \[ \int \frac {A +C \left (\cos ^{2}\left (d x +c \right )\right )}{\left (a +a \cos \left (d x +c \right )\right )^{\frac {2}{3}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {C \cos \left (d x + c\right )^{2} + A}{{\left (a \cos \left (d x + c\right ) + a\right )}^{\frac {2}{3}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {C\,{\cos \left (c+d\,x\right )}^2+A}{{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{2/3}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {A + C \cos ^{2}{\left (c + d x \right )}}{\left (a \left (\cos {\left (c + d x \right )} + 1\right )\right )^{\frac {2}{3}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________